package com.kingdee.eas.lms.base;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class OpenTypeFactory
{
    private OpenTypeFactory()
    {
    }
    public static com.kingdee.eas.lms.base.IOpenType getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.lms.base.IOpenType)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("871923ED") ,com.kingdee.eas.lms.base.IOpenType.class);
    }
    
    public static com.kingdee.eas.lms.base.IOpenType getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.IOpenType)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("871923ED") ,com.kingdee.eas.lms.base.IOpenType.class, objectCtx);
    }
    public static com.kingdee.eas.lms.base.IOpenType getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.IOpenType)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("871923ED"));
    }
    public static com.kingdee.eas.lms.base.IOpenType getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.lms.base.IOpenType)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("871923ED"));
    }
}